package ar.com.notarip.bb.infosubte;

import net.rim.device.api.command.AlwaysExecutableCommand;
import net.rim.device.api.command.ReadOnlyCommandMetadata;
import net.rim.device.api.ui.UiApplication;


/**
 *  @author pablo notari (notarip@gmail.com)
 * 
 * 
 */
public class Opciones extends AlwaysExecutableCommand{

	InfoSubte _uiApp = (InfoSubte)UiApplication.getUiApplication();
	boolean selected = false;


	public void execute(ReadOnlyCommandMetadata metadata, Object context) {


		setSelected(true);
		_uiApp.pushScreen(new OpcionesScreen());
		
	}


	public boolean wasSelected() {
		return selected;
	}


	public void setSelected(boolean selected) {
		this.selected = selected;
	}
}
